import { DefaultTheme } from "vitepress";

const tech: DefaultTheme.SidebarItem[] = [{
  text: '技术分享',
  link: '/tech',
  items:
    [
      {text: '常见Ubuntu命令', link: '/tech/ubuntu-command'},
      {text: '自动化部署', link: '/tech/ci-cd'},
      {
        text: '设计模式',
        link: '/tech/design-pattern',
        items: [{
          text: '发布订阅模式', link: '/tech/design-pattern/publish-subscribe',
        }]
      },
      {text: 'Commonjs 和 Es Module', link: '/tech/cjs-es'},
    ]
}]

export default tech;
